package com.wn.pettyloan.service;
import com.wn.pettyloan.dto.DebitDto;
import com.wn.pettyloan.entity.Debit;

import java.math.BigDecimal;
import java.util.List;

public interface DebitService {

    void updateStatusById(Integer debitId, int status);

    int deleteByPrimaryKey(Long id);

    int insertSelective(Debit record);

    Debit selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Debit record);

    int insert(Debit debit);

    int updateApproveNumById(Integer debitId, BigDecimal checkFee);

    List<Debit> findByDto(DebitDto debitDto);
}


